The purpose of this exercise is to help familiarize you with some of the Geoprocessing Tools available in the various programs. These tools will help you to simplify, organize, and reduce the amount of information and allow you to create additional base maps from existing data.
The Federal Emergency Management Agency (FEMA) is in the process of planning for the federal distribution of resources related to natural disasters in the US. As hurricane season approaches predictions are suggesting a very active season in the Atlantic Basin. As a FEMA analyst, you have been tasked with examining hurricane paths over the last five years that have impacted the Southeastern US. This information will be used to develop a plan for the establishment of temporary relief shelters, supply storage facilities, and mobile medical services that will be necessary in the hardest hit areas.
In this exercise you will:
Software specific directions can be found for each step below. Please submit the answer to the questions and your final map by the due date.
The data you will be using for this exercise comes from the National Oceanic and Atmospheric Administration - Office for Coastal Management, Historical Hurricane Tracks interactive map. Information on the site is derived from the NOAA National Hurricane Center HURDAT2 and NOAA National Centers for Environmental Information IBTrACS data sets.
As you have done with each of the previous exercises, Exercise 2 and Exercise 3, you will begin by launching ArcGIS Pro from the start menu or dekstop shortcut. Select Map from New > Blank Templates and on the resulting screen provide a name and location for your project. Remember it would be beneficial to keep all of these exercises in a single folder on your computer.
With your screen now displaying the World Topographic Map and World Hillshade in the table of contents, navigate to GitHub and download all datasets for this exercise here to your project folder and extract the data. If you have any questions on how to retrieve and extract the data refer to Exercise 2, Step 1 for detailed instructions.
Add the states, counties, and all hurricanes datasets to the map view. Remember that the layers in your Table of Contents are drawn in the order they appear. So the first item on the list will be the first show, followed, by the second and so on. Therefore, if you want certain datasets to be visible above all others it should be located at the top by clicking and dragging the data up or down in the list. For polygons, you can edit the fill and transparency (found under the appearance tab in effects) to allow for items underneath to be scene. For example, in the image below, the hurricane tracts are ordered by year and are situated on top of the county and state polygons. If the polygons were drawn first, the hurricane tracts would not be shown once they make landfall. In this example, the states polygons are displayed with a hollow fill and white border to allow for the counties to show through with their black borders.
Refer back to previous exercises to review how to change the symbology for a given dataset. You should experiment with different order, fill, and transparencies to customize your view of the data.
Because FEMA is only interested in counties impacted by hurricanes, you need to select only the states that are intersected by the tracts. There are several ways to subset data in ArcGIS Pro. For this example we can select counties by name through a structured query language (SQL), we can use graphical tools to select data, and we can use geoprocessing tools to subset the data. Because this is a learning module, you will be learning several different techniques. While this might not necessarily be the quickest method, the purpose of this exercise is to introduce you to several tools you can use as appropriate in future projects.
To continue gathering data for this exercise you are first going to isolate the data you want to select. In the Table of Contents click the List by Selection button to show a list of the selectable datasets in the project. Because you should have a number of datasets in the project, to isolate only the states file, right-click on the USA_States_Continental and chose “Make this the only selectable layer”.
To begin, click the drop-down menu for Select on the Map Tab and choose Lasso from the drop-down menu and and use the cursor to draw a circle encompassing Alabama, Arkansas, Delaware, Florida, Georgia, Illinois, Indiana, Kentucky, Louisiana, Maryland, Mississippi, Missouri, New Jersey, North Carolina, Ohio, Pennsylvania, South Carolina, Tennessee, Virginia, and West Virginia. Your circle does not need to include all of the state, just a small portion. See the example below:
With the states selected, return the Table of Contents to the “List by Drawing Order” button and right-click on the USA_States_Continental dataset and choose Data > Export Features from the menu. In the resulting menu include the following options and click OK:
When finished you should have the file added to your project. Another technique to isolate data is by using the Clip analysis tool. This tool can be used to cut out a piece of one dataset using one or more of the features in another dataset as a “cookie cutter”. This is useful for creating a new dataset that contains a geographic subset of the features in another larger dataset.
Under the Analysis Tab, click the Tools button to open a geoprocessing search menu. In the search box at the top of the menu type in the word Clip and click enter. The first option will show “Clip (Analysis Tools)”. Click on the tool to open the associated menu. In the new menu choose the following options from the drop-down menus and click Run :
This will create a dataset containing only the counties that are included within the states used as the selection. While the colors were altered to highlight the changes and additions to the project, you should now see a new dataset in your Table of Contents that only contains those counties.
Finally, while having the individual hurricane tracts can be important, for the purposes of this exercise you are going to use the Merge tool to combined all of the individual hurricane tracts into a single dataset. Similar to the previous step, click on the Tools button on the Analysis Tab and search for Merge. Click on “Merge (Data Management Tool)” and in the new window choose the following options from the drop-down menu and click run:
Now you can remove the USA_Counties and all the individual hurricane tract files to reduce the clutter in your Table of Contents. To do this you simply right-click on the dataset in the Table of Contents and click Remove.
Question No. 1How many individual tract segments are contained in the merged hurricane dataset?
As you have done with each of the previous exercises, Exercise 2 and Exercise 3, you will begin by launching QGIS from the start menu, launchpad, or dekstop shortcut. Start with a New Empty Project and save it to your project folder.
With your your empty project created, navigate to GitHub and download all datasets for this exercise here to your project folder and extract the data. If you have any questions on how to retrieve and extract the data refer to Exercise 2, Step 1 for detailed instructions.
Add the states, counties, and all hurricanes datasets to the map view. Remember that the datasets in your Layers menu are drawn in the order they appear. So the first item on the list will be the first show, followed, by the second and so on. Therefore, if you want certain datasets to be visible above all others it should be located at the top by clicking and dragging the data up or down in the list. For polygons, you can edit the fill and transparency (found under the appearance tab in effects) to allow for items underneath to be scene. For example, in the image below, the hurricane tracts are ordered by year and are situated on top of the county and state polygons. If the polygons were drawn first, the hurricane tracts would not be shown once they make landfall. In this example, the states polygons are displayed with a hollow fill and white border to allow for the counties to show through with their black borders.
Refer back to previous exercises to review how to change the symbology for a given dataset. You should experiment with different order, fill, and transparencies to customize your view of the data.
Because FEMA is only interested in counties impacted by hurricanes, you need to select only the states that are intersected by the tracts. There are several ways to subset data in QGIS. For this example we can select counties by name through a structured query language (SQL), we can use graphical tools to select data, and we can use geoprocessing tools to subset the data. Because this is a learning module, you will be learning several different techniques. While this might not necessarily be the quickest method, the purpose of this exercise is to introduce you to several tools you can use as appropriate in future projects.
To continue gathering data for this exercise you are first going to isolate the data you want to select. Begin by clicking on the USA_States_Continental dataset to make it the only selectable layer. Next, suing the Select Features tool use the drop-down menu to choose Select Features by Freehand.
Single click on the map somewhere in the Gulf of Mexico and use the cursor to draw a circle encompassing Alabama, Arkansas, Delaware, Florida, Georgia, Illinois, Indiana, Kentucky, Louisiana, Maryland, Mississippi, Missouri, New Jersey, North Carolina, Ohio, Pennsylvania, South Carolina, Tennessee, Virginia, and West Virginia. Your circle does not need to include all of the state, just a small portion. After circling the selected states, single click again to finish the selection. See the example below:
If you make a mistake you can use the Deselect Features button to clear your selection and try again. With the states selected, return the Layers menu right/CRTL click on the USA_States_Continental dataset and choose Export > Save Selected Features As… from the menu. In the resulting menu include the following options and click OK:
When finished you should have the file added to your project. Another technique to isolate data is by using the Clip analysis tool. This tool can be used to cut out a piece of one dataset using one or more of the features in another dataset as a “cookie cutter”. This is useful for creating a new dataset that contains a geographic subset of the features in another larger dataset.
On the menu bar, select Vector > Geoprocessing Tools > Clip to open the clipping dialog box. Choose the following options and click Run at the bottom of the screen when finished:
This will create a dataset containing only the counties that are included within the states used as the selection. While the colors were altered to highlight the changes and additions to the project, you should now see the new dataset in your Layers menu that only contains those counties.
Finally, while having the individual hurricane tracts can be important, for the purposes of this exercise you are going to use the Merge vector layers tool to combined all of the individual hurricane tracts into a single dataset. To locate this tool you will need to click the Toolbox button on the toolbar. This will open the Processing Toolbox side menu and allow you to search for merge.
Double click on the Merge vector layers tool and in the new window click the button for the Input layers. The window will shift to allow you to select all of the individual hurricane tract layers. When complete click the return arrow
to go back to the Merge Vector Layers dialog box. The Input layers should now say “5 inputs selected.” Next, click the
button for the section that says Merged. While you could make this a temporary layer, it would be best to save the file similar to in the previous steps to retain access to the new dataset.
Now you can remove the USA_Counties and all the individual hurricane tract files to reduce the clutter in your Layers menu. To do this you simply right/CRTL-click on the dataset in the Layers menu and click Remove Layer or hiding the layer by unchecking the hide layer button .
How many individual tract segments are contained in the merged hurricane dataset?
Before you begin, you will need to open the Ex2 Colab Notebook and insert tocolab after github in the URL to open in the Colab Environment. As you have seen before, R requires various packages to complete certain analyses. In this exercise you will be using tidyverse, OpenStreetMaps, ggfortify, maptools, and rgeos. To install and load the packages we will use the following script:
Blah…blah…blah…
Question No. 1Insert Text Here
In this step you will organize and display the data in order to prepare it for the final visualization.
Now that you have the necessary data, you need determine which counties are most significantly impacted by the hurricanes. Because hurricane winds can impact areas far away from the eye or the storm, you will begin by creating a buffer around the hurricane tracts. You can either use the Tools button on the Analysis Tab or search for Buffer in the list of tools next to the button. In the Buffer window select the following options and click run:
If in this step or the next you encounter a warning stating there is a “datum conflict between the input and output”, just proceed with the exercise. We will discuss datums, a set of reference points on the earth’s surface against which position measurements are made, in future exercises. While they are important to understand, for the purposes of this exercise you can ignore the warning.
In this next step you need to isolate only the counties that are located within this buffer. To do this, click the Select By Location button on the Map Tab in the Selection Section. In the new menu choose the following and click OK.
With this selection made, you can take the same steps as before to create a new dataset by right-clicking on the clipped counties dataset in the Table of Contents, going to Data > Export Features and creating a new shapefile of the selected counties. You can now remove the clipped counties you created in step one or change the symbology to make this new selection stand out.
To answer the following question, open the attribute table for the new dataset you created highlighting the impacted counties. Right-click on the column header for the Population variable, and select statistics.
Question No. 2What is the total population (sum information) of the counties impacted by these hurricanes?
Now that you have the necessary data, you need determine which counties are most significantly impacted by the hurricanes. Because hurricane winds can impact areas far away from the eye or the storm, you will begin by creating a buffer around the hurricane tracts. You can either go to Vector > Geoprocessing Tools > Buffer on the menu bar or search for Buffer in the Processing Toolbox (similar to searching for Merge). Double-click on the Buffer tool, select the following options and click Run:
You may receive a warning about using degrees to calculate the buffer. If so you can dismiss it for now. In future exercises you will project your dataset, however for the purposes of this exercise you can ignore the warning. Your screen should now look similar to this (colors have been altered to highlight the results):
For this exercise, you are going to add satellite imagery from a remote connection. In the browser, scroll down to XYZ Tiles and right/CRTL-click to add a “New Connection”. In the resulting window name the connection “Google Satellite” and type the following into the URL:
https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}
You can now click and drag Google Satellite into the layer to view the satellite imagery. Remember to arrange your layer so that either the fill for counties is transparent or the satellite layer is above the counties so you can see the imagery.
In this next step you need to isolate only the counties that are located within the hurricane buffer. To do this, click Vector > Research Tools > Select By Location from the menu bar. In the new menu choose the following and click Run
With this selection made, you can take the same steps as before to create a new dataset by right/CRTL-clicking on the clipped counties dataset in the Layers menu, going to Export > Save Selected Features As… and creating a new shapefile of the selected counties.
You can now remove the clipped counties you created in step one or change the symbology to make this new selection stand out.
To answer the following question, click the Show Statistical Summary button on the menu bar. A new menu will open in the left-hand column of the screen. In this menu select the dataset you created for the hurricane impacted counties in the first box and population in the second.
What is the total population (sum information) of the counties impacted by these hurricanes?
Blah…blah…blah…
Question No. 2Insert Text Here
You will now create a graphical display of your data that includes cartographic elements such as legend, scale bar, north arrow, etc. In this visualization you will also learn to add a different basemap, add an inset or overview map, and alter the projected coordinate system.
On the Map Tab click the Basemap button and select the option for Oceans. Remember that the order of the datasets in the Table of Contets determines what order they are displayed.
In future exercises you may choose any of these basemap options that are apprropriate for your analyses. Next, on the Insert Tab click the button for New Map and select New Map. A new map tab (probably called Map2) will appear in your map frame. Add (or copy/paste from the original map) the hurricane impacted counties and the continental US States shapefiles as well as the Oceans basemap to this new map. Be sure to zoom in a appropriate to see the data.
To return to the original map simply click on the appropriate tab. This will allow you to switch back and forth between the two in order to make the necessary customizations. It may be beneficial to rename each one to keep track of the purpose for each map.
Next you can change the projection of the coordinate system for the inset map (Map2). In the Table of Contents, right-click on Map2 and select Properties. In the resulting window click Coordinate Systems from the left-side menu. Under “XY Coordinate Systems Available” scroll down until you see Projected Coordinate System. Using the series of drop-down menus go to Projected Coordinate System > Continental > North America and select the option for “North America Albers Equal Area Conic” and click OK. You should notice that the awkward “flat top” border of the United States should now me curved and the overall shape of the states has a more pleasing appearance.
In lecture we will discuss the importance of projections and coordinate systems. In future exercises you should take some time to select different options to see which Coordinate System has the most pleasing shape to your eyes.
It is now time for you to make your map. Similar to previous exercises, you need to add all of the necessary elements discussed in Exercise 2 and 3. In this exercise you will also need to add your inset map (Map2). To do this, you first need to add the primary map with using the Map Frame button like before. Next you can click the Map Frame button again to add the second map.
However, for the inset you want it to be smaller and not cover your map data.
Finalize your map by adding all of the necessary map elements (title, legend, north arrow, scale bar, name and date) and altering the symbology of the hurricane dataset to provide additional important data. Remember to renaming items in the Table of Contents will rename them in the legend.
How many total impacted counties are included in the new dataset?
To create this visualization you are going to also create what is called an inset or indicator map. These are smaller maps that are used to provide additional detail about a specific location. These maps are often small scale versions or the primary map, but sometimes can be larger scale to enhance detail in congested areas. In this case it will be a small scale version of the continental US.
To begin this process you are going to create some organizations in the Layer Menu by using the Add Group button . Name the first group “Main Map” and create a second group called “Inset Map”.
In the Layers Menu you can click and drag the datasets into the different groups as well as right/CRTL-click to copy and paste. For this exercise you should order your datasets as follows:
Similar to previous exercises, your visualization should include all of the necessary map elements discussed in Exercise 2 and 3. However, you will also need to add the inset map for this exercise. To do this, you first need to create a New Print Layout, and with the “Main Map” selected and the “Inset Map” hidden in the Layers Menu, and add the map with the Add map tool like before.
In the item properties for the map, set your level of zoom and align the map in your desired location. Then under Layers section, click “Lock Layers” to keep the map frame from being altered. You can always return to this layer and unlock it if you need to make changes.
Next return to the project and turn off the Main Map, then turn on the Inset Map and return to the layout and add another map. Because you have the inset group selected and the main map group hidden, the additional map frame will contain the inset information. Remember to think about where you want the inset to be located before you draw it on the layout. While you can change this at anytime, you should always have a planned map design.
Finalize your map by adding all of the necessary map elements (title, legend, north arrow, scale bar, name and date) and altering the symbology of the hurricane dataset to provide additional important data. Remember to renaming items in the Table of Contents will rename them in the legend but you will need to update in the item properties. Alternatively, in the item properties for the legend you can select any object and click the Edit button to rename them.
How many total impacted counties are included in the new dataset?
Blah…blah…blah…
Question No. 3Insert Text Here
After providing the initial map to FEMA, the Deputy Associate Administrator for the Office of Response and Recovery has asked if you could add some additional data. Specifically, they are interested in cities with a population of greater than 300,000 so they are able to situate response teams in proximity to the most people.
If you did not previously download the cities data from the GitHub Exercise Page please download the data and unzip it in your project folder. With that data available, add the US_Cities_100k.shp to your primary map (not the inset map). Repeating the steps to clip from Step 1 select the cities as your Input Feature, the hurricane buffer as the Clip Feature, and be sure to save the new dataset to your project folder with .shp to create a shapefile. You can now remove the US Cities from the project but keep your clipped cities.
While you will leave all of the clipped cities on the map, you will now create a Label Class to only create labels for cities with a population greater than 300,000. To begin, right-click on your new clipped cities dataset and select “Labeling Properties…” from the options.
Under the “Class” option in the Label Class window select SQL from the three options. Next select New expression and select the following options:
Where POPULATION is greater than 300,000
When complete, click Apply at the bottom of the window. Use the options on the Labeling Tab for the dataset to adjust the label field to NAME, change the font or size of the text, and click the Label button on the left of the tab.
What labeled cities are the furthest North, South, East, and West?
If you did not previously download the cities data from the GitHub Exercise Page please download the data and unzip it in your project folder. With that data available, add the US_Cities_100k.shp to your primary map (not the inset map). Repeating the steps to clip from Step 1 select the cities as your Input Layer, the hurricane buffer as the Overlay Layer, and be sure to save the new dataset to your project folder in the Clipped option. You can now remove the US Cities from the project but keep your clipped cities.
While you will leave all of the clipped cities on the map, you will now create a Label Class to only create labels for cities with a population greater than 300,000. To begin, right/CRTL-click on your new clipped cities dataset and select “Properties”. Under the Labels tab on the left side of the new window, select Rule-based Labeling from the drop-down menu at the top of the window. Next, click the Green + at the bottom to add a new rule. Provide the following inputs and click OK
"POPULATION" > 300000
Finally, click OK on the layer properties window. You will need to return to your main map in the layout and uncheck the box for locked to update the map with this new information.
Question No. 4What labeled cities are the furthest North, South, East, and West?
Blah…blah…blah…
Question No. 4Insert Text Here
In the report you provide to FEMA please provide the following information:
When complete, send a link to your Colab Notebook or word document with answers to Questions 1-4 and your completed map via email.